function demo_1() {
  Java.perform(() => {
    console.log("hello world");
  });
}

function demo_2() {
    Java.perform(()=>{
      let java_lang = Java.use(java.lang.String);
      let contains_fn:JavaHookTaget = java_lang.contains
      contains_fn.overload(java.lang.String).implementation = function(value){
         console.log(value)
      }
    })
}

function main() {
  demo_1();
}

main();